package com.wanwen.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wanwen.dto.SigninDto;
import com.wanwen.entity.Signin;

public interface SigninMapper extends BaseMapper<Signin> {
	/**
     * 动态查询
     */
    @Select("SELECT * " +
            " FROM users, signin " +
            " ${ew.customSqlSegment} ")
    IPage<SigninDto> findSignin(IPage<SigninDto> page, @Param("ew") QueryWrapper<SigninDto> wrapper);
}
